package com.ruoyi.camp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 服务设施类型对象 c_facility_type
 *
 * @author ruoyi
 * @date 2024-11-01
 */
public class CFacilityType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 设施类型Id
     */
    private String ftid;

    /**
     * 设施类型名称
     */
    @Excel(name = "设施类型名称")
    private String ftname;

    public List<CFacility> getFacilities() {
        return facilities;
    }

    public void setFacilities(List<CFacility> facilities) {
        this.facilities = facilities;
    }

    /**
     * 设施类型状态
     */
    @Excel(name = "设施类型状态")
    private String ftstate;
    private List<CFacility> facilities;

    public void setFtid(String ftid) {
        this.ftid = ftid;
    }

    public String getFtid() {
        return ftid;
    }

    public void setFtname(String ftname) {
        this.ftname = ftname;
    }

    public String getFtname() {
        return ftname;
    }

    public void setFtstate(String ftstate) {
        this.ftstate = ftstate;
    }

    public String getFtstate() {
        return ftstate;
    }

//
//    public CFacilityType() {
//    }
//
//    public CFacilityType(String ftid, String ftname, String ftstate) {
//        this.ftid = ftid;
//        this.ftname = ftname;
//        this.ftstate = ftstate;
//    }
//
//    public CFacilityType(String ftid, String ftname, String ftstate, List<CFacility> facilities) {
//        this.ftid = ftid;
//        this.ftname = ftname;
//        this.ftstate = ftstate;
//        this.facilities = facilities;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("ftid", getFtid())
                .append("ftname", getFtname())
                .append("ftstate", getFtstate())
                .append("facilities",getFacilities())
                .toString();
    }
}
